import fetch from '@/requests/fetch'
// 获取退款码
export const getRefundCodeList = (data) => fetch('get', '/api/erp/sassRefundCode/getOne', data)
// 修改退款码
export const updateRefundCode = (data) => fetch('post', '/api/erp/sassRefundCode/update', data)


// 获取配送规则
export const getDeliveryRulesList = (data) => fetch('get', '/api/erp/sassDeliveryRules/getOne', data)
// 修改配送规则
export const updateDeliveryRules = (data) => fetch('post', '/api/erp/sassDeliveryRules/update', data)
// 新增配送规则
export const addDeliveryRules = (data) => fetch('post', '/api/erp/sassDeliveryRules/add', data)
